cmake_minimum_required(VERSION 3.13)

project(vkcube)

set(VULKAN_SDK C:/VulkanSDK/1.2.198.1)

add_executable(vkcube cube.c)
target_include_directories(vkcube PRIVATE
    ${VULKAN_SDK}/Include
    ${VULKAN_SDK}/Source/layers
)
target_link_libraries(vkcube PRIVATE
    ${VULKAN_SDK}/Lib/vulkan-1.lib
)
target_compile_definitions(vkcube PRIVATE
    VK_USE_PLATFORM_WIN32_KHR
    VK_PROTOTYPES
    _CRT_SECURE_NO_WARNINGS
    _USE_MATH_DEFINES
    WIN32
    _DEBUG
    _WINDOWS
)
#target_link_options(vkcube PRIVATE
#    "/SUBSYSTEM:WINDOWS"
#)
